//
//  LCWebViewController.m
//  段子手
//
//  Created by dllo on 16/3/28.
//  Copyright © 2016年 JokesTeam. All rights reserved.
//

#import "LCWebViewController.h"

@interface LCWebViewController ()<UIWebViewDelegate>

@property (nonatomic, retain) UIWebView *foodWebView;

@end

@implementation LCWebViewController



- (void)viewWillAppear:(BOOL)animated{
    self.tabBarController.tabBar.hidden = YES;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    //    创建webView
    self.foodWebView = [[UIWebView alloc]initWithFrame:[UIScreen mainScreen].bounds];
    [self.foodWebView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:_webStr]]]; //请求数据， 加载网页
    
    self.foodWebView.delegate = self;
    [self.view addSubview:self.foodWebView];
    
    

    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
    
    
    
    
}







/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
